package com.gaohe.official.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.gaohe.common.core.annotation.Excel;
import com.gaohe.common.core.web.domain.BaseEntity;

/**
 * 系统广告对象 fm_advert
 * 
 * @author ruoyi
 * @date 2025-06-03
 */
public class FmAdvert extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 广告id */
    private Long advertId;

    /** 广告名称 */
    @Excel(name = "广告名称")
    private String advertName;

    /** 广告方 */
    @Excel(name = "广告方")
    private String agency;

    /** 跳转链接urls */
    @Excel(name = "跳转链接urls")
    private String urls;

    /** 广告图片 */
    @Excel(name = "广告图片")
    private String image;

    /** 上架时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上架时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date listTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 收益 */
    @Excel(name = "收益")
    private BigDecimal income;

    /** 是否删除 */
    private Long delFlag;

    public void setAdvertId(Long advertId) 
    {
        this.advertId = advertId;
    }

    public Long getAdvertId() 
    {
        return advertId;
    }

    public void setAdvertName(String advertName) 
    {
        this.advertName = advertName;
    }

    public String getAdvertName() 
    {
        return advertName;
    }

    public void setAgency(String agency) 
    {
        this.agency = agency;
    }

    public String getAgency() 
    {
        return agency;
    }

    public void setUrls(String urls) 
    {
        this.urls = urls;
    }

    public String getUrls() 
    {
        return urls;
    }

    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }

    public void setListTime(Date listTime) 
    {
        this.listTime = listTime;
    }

    public Date getListTime() 
    {
        return listTime;
    }

    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }

    public void setIncome(BigDecimal income) 
    {
        this.income = income;
    }

    public BigDecimal getIncome() 
    {
        return income;
    }

    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("advertId", getAdvertId())
            .append("advertName", getAdvertName())
            .append("agency", getAgency())
            .append("urls", getUrls())
            .append("image", getImage())
            .append("listTime", getListTime())
            .append("endTime", getEndTime())
            .append("income", getIncome())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
